package com.weharvest.edu.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.data.domain.Pageable;

import java.io.Serializable;

@Data
public class ResultVo<T> implements Serializable {
    private static final long serialVersionUID = -1650786059124124557L;

    private  Integer code;
    private  String  msg;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private  T       data;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Pageable pageable;
}
